package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      云电梯用户预约行程表PO类
 * </desc>
 *
 * @createDate 2018/04/13
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ItlTables("cloud_elevator_call_status")
public class CloudElevatorCallStatusPO extends BasePO implements Serializable{
    @ItlField(value = "call_id",logicKey = "key")
    private String callId;      //逻辑key
    @ItlField("record_id")
    private String recordId;    //用户云电梯操作记录id
    @ItlField("device_unique")
    private String deviceUnique;  //设备序列号
    @ItlField("group_con_id")
    private String groupConId;      //群控器ID
    @ItlField("from_floor")
    private String fromFloor;   //出发楼层号
    @ItlField("to_floor")
    private String toFloor;     //目标楼层号
    @ItlField("from_status")
    private Integer fromStatus;  //是否已到出发楼层 0否 1是
    @ItlField("to_status")
    private Integer toStatus;    //是否已到目标楼层 0否 1是
    @ItlField("operate_status")
    private Integer operateStatus;   //预约行程状态 1预约中 2预约完成 3预约取消
    @ItlField("app_read")
    private Integer appRead;            //预约完成状态下APP是否读取过这条消息：1是 0否
}
